const Layout = () => import("@/layout/index.vue");

export default {
  path: "/post",
  name: "post",
  redirect: "/post/list",
  component: Layout,
  meta: {
    icon: "homeFilled",
    title: "帖子管理",
    rank: 1
  },
  children: [
    {
      path: "/post/list",
      name: "帖子列表",
      component: () => import("@/views/post/index.vue"),
      meta: {
        title: "帖子列表"
      }
    },
    {
      path: "/post/category",
      name: "帖子分类",
      component: () => import("@/views/post/category.vue"),
      meta: {
        title: "帖子分类"
      }
    }
  ]
} as RouteConfigsTable;
